package com.simple.project.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import com.simple.common.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * 用户评论对象 b_comment
 * 
 * @author simple
 * @date 2020-12-01
 */
@Data
@ToString
@EqualsAndHashCode
@NoArgsConstructor
@Accessors(chain = true)
@TableName("b_comment")
public class Comment implements Serializable {

private static final long serialVersionUID=1L;


    /** 评论唯一Id */
    @TableId(value = "comment_id")
    private Long commentId;

    /** 评论内容 */
    @Excel(name = "评论内容")
    private String content;

    /** 一级评论的Id */
    @Excel(name = "一级评论的Id")
    private Long firstCommentId;

    /** 用户Id */
    @Excel(name = "用户Id")
    private Long userId;

    /** 回复的评论的Id */
    @Excel(name = "回复的评论的Id")
    private Long replyCommentId;

    /** 回复的用户的Id */
    @Excel(name = "回复的用户的Id")
    private Long replyUserId;

    /** 博客Id */
    @Excel(name = "博客Id")
    private Long blogId;

    /** 创建者 */
    private String createBy;

    /** 创建时间 */
    private LocalDateTime createTime;

    /** 修改者 */
    private String updateBy;

    /** 修改时间 */
    private LocalDateTime updateTime;

    /** 逻辑删除，0:未删除，1:已删除 */
    @Excel(name = "逻辑删除，0:未删除，1:已删除")
    private Integer isDeleted;
}
